#ifndef __BSP_LED_H
#define __BSP_LED_H

#include "bsp.h"


#if HardwareType == Common_Hardware_Type
#define LED_BLUE_PORT               GPIOC
#define LED_BLUE_PIN                GPIO_PIN_1
#define LED_BLUE_PORT_CLK_ENABLE    __HAL_RCC_GPIOC_CLK_ENABLE

#define LED_GREEN_PORT               GPIOC
#define LED_GREEN_PIN                GPIO_PIN_2
#define LED_GREEN_PORT_CLK_ENABLE    __HAL_RCC_GPIOC_CLK_ENABLE

#define LED_YELLOW_PORT               GPIOC
#define LED_YELLOW_PIN                GPIO_PIN_3
#define LED_YELLOW_PORT_CLK_ENABLE    __HAL_RCC_GPIOC_CLK_ENABLE
typedef enum
{
    LED_B,
    LED_G,
    LED_Y
} LED_COLOR;

void LED_Init(void);
void LED_On(LED_COLOR color);
void LED_Off(LED_COLOR color);
void LED_Turn(LED_COLOR color);



#elif HardwareType == Engineer_Hardware_Type
#define LED_PORT               GPIOC
#define LED_PIN                GPIO_PIN_9
#define LED_PORT_CLK_ENABLE    __HAL_RCC_GPIOC_CLK_ENABLE
void LED_Init(void);
void LED_On(void);
void LED_Off(void);
void LED_Turn(void);

#endif




#endif
